package com.sgb.jicai.view.adapter;

import android.app.Activity;

import com.sgb.jicai.BR;
import com.sgb.jicai.R;
import com.sgb.jicai.entity.SuperviseListBean;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import java.util.List;

/**
 * Time:2021/7/23
 * AUTHOR:F_Q
 * Description: 按类型设置监督人adapter
 */
public class SuperviseAdapter extends BaseRecycleAdapter<SuperviseListBean> {
    public SuperviseAdapter(Activity activity, List<SuperviseListBean> list) {
        super(activity, R.layout.item_supervise, list);
    }

    @Override
    public void convert(ItemViewHolder holder, SuperviseListBean entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
